# 用户models的序列化类
import bdb

from applications.exts import ma
from marshmallow import fields


class WxUserOutSchema(ma.Schema):
    id = fields.Integer()
    username = fields.Str()
    openid=fields.Str()
    avatar = fields.Str()
    enable = fields.Integer()
    create_at = fields.DateTime()
    update_at = fields.DateTime()
    level=fields.Integer()
    integral=fields.Integer()
